#!/bin/bash

##ifndef BUILD_H
#define BUILD_H
#define app_build "25"
#endif // BUILD_H


aa=$(cat src/build.h | grep app_build | cut -f 3 -d " " | cut -f 2 -d "\"")
#echo $aa
let "aa += 1"
#echo "aa = $aa "

echo "#ifndef BUILD_H" > src/build.h
echo "#define BUILD_H" >> src/build.h
echo "#define app_build \"$aa\"" >> src/build.h
echo "#endif //BUILD_H" >> src/build.h

